package com.ruoyi.hotSpot.controller;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.hotSpot.service.RegionalInfoService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description TODO
 * @Author wsl
 * @Date 2025-02-10 19:08
 * @Version 1.0
 */

@RestController
@Api(tags = "区域")
@RequestMapping("/hotspot/regional")
public class RegionalInfoController {

    @Autowired
    private RegionalInfoService regionInfoService;

    @GetMapping("analyzingBoundary")
    @ApiOperation("解析区域边界-前端展示")
    public AjaxResult analyzingBoundary(String filePath ){
        return regionInfoService.analyzingBoundary(filePath);
    }

}
